//
//  HomeCellTwo.m
//  HuiYinMaster
//
//  Created by new-1020 on 2017/4/12.
//  Copyright © 2017年 Rowling. All rights reserved.
//

#import "HomeCellTwo.h"
#import "VoiceView.h"
@interface HomeCellTwo()
@property (weak, nonatomic) IBOutlet UIView *viewOne;
@property (weak, nonatomic) IBOutlet UIView *viewTwo;

@end

@implementation HomeCellTwo

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    
    self.homeVoiceViewOne = [[NSBundle mainBundle] loadNibNamed:@"VoiceView" owner:nil options:nil].firstObject;
    self.homeVoiceViewTwo = [[NSBundle mainBundle] loadNibNamed:@"VoiceView" owner:nil options:nil].firstObject;
    [self.viewOne addSubview:self.homeVoiceViewOne];
    [self.homeVoiceViewOne mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.right.equalTo(self.viewOne);
    }];
    [self.viewTwo addSubview:self.homeVoiceViewTwo];
    [self.homeVoiceViewTwo mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.bottom.right.equalTo(self.viewTwo);
        make.top.equalTo(self.viewTwo).offset(1);
    }];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
